Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added denomination parsing to AST value extraction #202

Merged
merged 4 commits into from
Aug 18, 2023

Conversation

Xenomega
Copy link
Member

@Xenomega Xenomega commented Aug 17, 2023

This PR adds denomination parsing to AST value extraction. This means types such as wei, gwei, ether, weeks, years should now be supported. This PR closes #156 , which was not solveable because the denomination was not parsed, so the correct value was not extracted for the ValueSet.

Unrelated changes:

  • Added memory usage to printed metrics. Memory usage and worker resets now only show if your log level is DEBUG or lower.

@Xenomega Xenomega requested a review from anishnaik as a code owner August 17, 2023 17:59
@Xenomega Xenomega changed the title [WIP] Added denomination parsing to AST value extraction Added denomination parsing to AST value extraction Aug 17, 2023
Copy link
Collaborator

@anishnaik anishnaik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bing bong

@Xenomega Xenomega merged commit 45e26de into master Aug 18, 2023
@Xenomega Xenomega deleted the dev/denomination-parsing branch August 18, 2023 18:32
damilolaedwards pushed a commit that referenced this pull request Nov 16, 2023
* Added denomination parsing to AST constant mining
* Added tests for AST value extraction, removed print from experimental code

---------

Co-authored-by: anishnaik <[email protected]>
s4nsec pushed a commit that referenced this pull request Jul 9, 2024
* Added denomination parsing to AST constant mining
* Added tests for AST value extraction, removed print from experimental code

---------

Co-authored-by: anishnaik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to invalidate invariant
2 participants